package cn.sinata.wanglin.adapter;

import com.xilada.xldutils.adapter.HFRecyclerAdapter;
import com.xilada.xldutils.adapter.util.ViewHolder;

import java.util.List;

import cn.sinata.wanglin.R;
import cn.sinata.wanglin.model.Village;

/**
 *
 * Created by liaoxiang on 16/12/16.
 */

public class NearVillageAdapter extends HFRecyclerAdapter<Village> {

    public NearVillageAdapter(List<Village> mData) {
        super(mData, R.layout.item_village_from_dialog_layout);
    }

    @Override
    public void onBind(int position, Village village, ViewHolder holder) {
        holder.setText(R.id.tv_name,village.getHousingName());
    }
}
